package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 国际机票订单明细对象 iflight_passenger
 * 
 * @author ruoyi
 * @date 2022-05-31
 */
public class IflightPassenger extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 乘客ID */
    private Long passengerid;

    /** 订单表主键ID */
    @Excel(name = "订单表主键ID")
    private Long orderid;

    /** 销售价 */
    @Excel(name = "销售价")
    private BigDecimal ticketamount;

    /** 税金 */
    @Excel(name = "税金")
    private BigDecimal tax;

    /** 净价 */
    @Excel(name = "净价")
    private BigDecimal originalamount;

    /** 销售价 */
    @Excel(name = "销售价")
    private BigDecimal settleamount;

    /** 票号 */
    @Excel(name = "票号")
    private String ticketnumber;

    /** 乘客名 */
    @Excel(name = "乘客名")
    private String firstname;

    /** 乘客姓 */
    @Excel(name = "乘客姓")
    private String lastname;

    /** 国籍 */
    @Excel(name = "国籍")
    private String countryid;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 常旅客ID */
    @Excel(name = "常旅客ID")
    private Long travellerid;

    /** 是否短信提醒 */
    @Excel(name = "是否短信提醒")
    private Integer isnotice;

    /** 乘客手机号 */
    @Excel(name = "乘客手机号")
    private String mobile;

    /** 乘客证件类型 */
    @Excel(name = "乘客证件类型")
    private String idtype;

    /** 乘客证件号 */
    @Excel(name = "乘客证件号")
    private String idno;

    /** 乘客证件有效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "乘客证件有效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date idvaliddate;

    /** 乘客生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "乘客生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 乘客类型（成人，儿童，婴儿等） */
    @Excel(name = "乘客类型", readConverterExp = "成=人，儿童，婴儿等")
    private Long passengertype;

    /** $column.columnComment */
    @Excel(name = "乘客类型", readConverterExp = "$column.readConverterExp()")
    private Long createemployeeid;

    /** $column.columnComment */
    @Excel(name = "乘客类型", readConverterExp = "$column.readConverterExp()")
    private BigDecimal rfeeamount;

    /** $column.columnComment */
    @Excel(name = "乘客类型", readConverterExp = "$column.readConverterExp()")
    private BigDecimal ramount;

    /** $column.columnComment */
    @Excel(name = "乘客类型", readConverterExp = "$column.readConverterExp()")
    private Long refundtype;

    /** 航空公司 */
    @Excel(name = "航空公司")
    private String airliner;

    /** 性别 */
    @Excel(name = "出发航站楼")
    private String departureTerminal;

    /** 到达航站楼 */
    @Excel(name = "到达航站楼")
    private String arrivalTerminal;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flightNo;

    /** 出发时间 */
    @Excel(name = "出发时间")
    private Date departureTime;

    /** 到达时间 */
    @Excel(name = "到达时间")
    private Date arrivalTime;

    /** 仓位 */
    @Excel(name = "仓位")
    private String cabin;

    /** 去程/返程 */
    @Excel(name = "去程/返程")
    private String flightType;

    /** 出发城市 */
    @Excel(name = "出发城市")
    private String departureCity;

    /** 到达城市 */
    @Excel(name = "到达城市")
    private String arrivalCity;

    /** 操作员工 */
    @Excel(name = "操作员工")
    private Long employeeId;

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getDepartureCity() {
        return departureCity;
    }

    public void setDepartureCity(String departureCity) {
        this.departureCity = departureCity;
    }

    public String getArrivalCity() {
        return arrivalCity;
    }

    public void setArrivalCity(String arrivalCity) {
        this.arrivalCity = arrivalCity;
    }

    public String getFlightType() {
        return flightType;
    }

    public void setFlightType(String flightType) {
        this.flightType = flightType;
    }

    public String getAirliner() {
        return airliner;
    }

    public void setAirliner(String airliner) {
        this.airliner = airliner;
    }

    public String getDepartureTerminal() {
        return departureTerminal;
    }

    public void setDepartureTerminal(String departureTerminal) {
        this.departureTerminal = departureTerminal;
    }

    public String getArrivalTerminal() {
        return arrivalTerminal;
    }

    public void setArrivalTerminal(String arrivalTerminal) {
        this.arrivalTerminal = arrivalTerminal;
    }

    public String getFlightNo() {
        return flightNo;
    }

    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo;
    }

    public Date getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Date departureTime) {
        this.departureTime = departureTime;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public String getCabin() {
        return cabin;
    }

    public void setCabin(String cabin) {
        this.cabin = cabin;
    }

    public void setPassengerid(Long passengerid)
    {
        this.passengerid = passengerid;
    }

    public Long getPassengerid() 
    {
        return passengerid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setTicketamount(BigDecimal ticketamount) 
    {
        this.ticketamount = ticketamount;
    }

    public BigDecimal getTicketamount() 
    {
        return ticketamount;
    }
    public void setTax(BigDecimal tax) 
    {
        this.tax = tax;
    }

    public BigDecimal getTax() 
    {
        return tax;
    }
    public void setOriginalamount(BigDecimal originalamount) 
    {
        this.originalamount = originalamount;
    }

    public BigDecimal getOriginalamount() 
    {
        return originalamount;
    }
    public void setSettleamount(BigDecimal settleamount) 
    {
        this.settleamount = settleamount;
    }

    public BigDecimal getSettleamount() 
    {
        return settleamount;
    }
    public void setTicketnumber(String ticketnumber) 
    {
        this.ticketnumber = ticketnumber;
    }

    public String getTicketnumber() 
    {
        return ticketnumber;
    }
    public void setFirstname(String firstname) 
    {
        this.firstname = firstname;
    }

    public String getFirstname() 
    {
        return firstname;
    }
    public void setLastname(String lastname) 
    {
        this.lastname = lastname;
    }

    public String getLastname() 
    {
        return lastname;
    }
    public void setCountryid(String countryid) 
    {
        this.countryid = countryid;
    }

    public String getCountryid() 
    {
        return countryid;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setTravellerid(Long travellerid)
    {
        this.travellerid = travellerid;
    }

    public Long getTravellerid() 
    {
        return travellerid;
    }
    public void setIsnotice(Integer isnotice) 
    {
        this.isnotice = isnotice;
    }

    public Integer getIsnotice() 
    {
        return isnotice;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }

    public String getIdtype() {
        return idtype;
    }

    public void setIdtype(String idtype) {
        this.idtype = idtype;
    }

    public void setIdno(String idno)
    {
        this.idno = idno;
    }

    public String getIdno() 
    {
        return idno;
    }
    public void setIdvaliddate(Date idvaliddate) 
    {
        this.idvaliddate = idvaliddate;
    }

    public Date getIdvaliddate() 
    {
        return idvaliddate;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setPassengertype(Long passengertype) 
    {
        this.passengertype = passengertype;
    }

    public Long getPassengertype() 
    {
        return passengertype;
    }
    public void setCreateemployeeid(Long createemployeeid) 
    {
        this.createemployeeid = createemployeeid;
    }

    public Long getCreateemployeeid() 
    {
        return createemployeeid;
    }
    public void setRfeeamount(BigDecimal rfeeamount) 
    {
        this.rfeeamount = rfeeamount;
    }

    public BigDecimal getRfeeamount() 
    {
        return rfeeamount;
    }
    public void setRamount(BigDecimal ramount) 
    {
        this.ramount = ramount;
    }

    public BigDecimal getRamount() 
    {
        return ramount;
    }
    public void setRefundtype(Long refundtype) 
    {
        this.refundtype = refundtype;
    }

    public Long getRefundtype() 
    {
        return refundtype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("passengerid", getPassengerid())
            .append("orderid", getOrderid())
            .append("ticketamount", getTicketamount())
            .append("tax", getTax())
            .append("originalamount", getOriginalamount())
            .append("settleamount", getSettleamount())
            .append("ticketnumber", getTicketnumber())
            .append("firstname", getFirstname())
            .append("lastname", getLastname())
            .append("countryid", getCountryid())
            .append("sex", getSex())
            .append("travellerid", getTravellerid())
            .append("isnotice", getIsnotice())
            .append("mobile", getMobile())
            .append("idtype", getIdtype())
            .append("idno", getIdno())
            .append("idvaliddate", getIdvaliddate())
            .append("birthday", getBirthday())
            .append("passengertype", getPassengertype())
            .append("createTime", getCreateTime())
            .append("createemployeeid", getCreateemployeeid())
            .append("rfeeamount", getRfeeamount())
            .append("ramount", getRamount())
            .append("refundtype", getRefundtype())
            .toString();
    }
}
